package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author 谢洛涛
 * @date 2021/1/9 12:33
 */
@Getter
public enum FunctionEnum {
    JS_PAY("js.pay", "JS支付接口(微信公众号/支付宝服务窗)"),
    PAY_CODE_PAY("pay.code.pay","付款码支付"),
    ORDER_REFUND("order.refund","订单退款接口"),
    ORDER_REFUND_QUERY("order.refund.query","订单退款查询接口"),
    MERCHANT_UPLOADPHOTO("merchant.uploadphoto","商户图片上传"),
    MERCHANT_REGISTER("merchant.register", "商户注册接口"),
    MERCHANT_QUERY("merchant.merchantprod", "商户信息查询接口"),
    MERCHANT_REGISTER_QUERY("merchant.register.query", "商户注册查询接口"),
    DAIFU_PAY("daifu.pay","实时代付接口"),
    HL_QUALIFICATION_QUERY("hl_qualification_query", "资质信息查询接口"),
    QUALIFICATION_REGISTER("qualification.register", "资质进件接口"),
    MERCHANT_RE_REGISTRATION("merchant.re.registration","商户重新进件接口"),
    SWITCHOVER_PAY_COMPANY("switchover.pay.company","切换支付渠道"),
    MERCHANT_PAYRESULT_QUERY("merchant.payresult.query","商户结算查询"),
    MERCHANT_OPEN_SPLIT("merchant.open.split","商户开通分账"),
    MERCHANT_GAIN_OPEN_SPLIT_SENDCODE("merchant.gain.open.split.sendCode","商户获取开通分帐验证码"),
    MERCHANT_OPEN_SPLIT_VERIFY("merchant.open.split.verify","商户开通分帐验证"),
    MERCHANT_UPDATE("merchant.update","简称，费率变更，结算信息"),
    SIMPLE_PAY( "simple.pay","简单支付接口"),
    CLOUD_LARGE_TRANSFER_CREATE_ORDER("cloud.large.transfer.createOrder","大额转账订单创建"),
    IOTBOX_VERIFY_CODE("iotbox.verify.code","iot盒子验券"),
    IOTBOX_CANCEL_VERIFY_CODE("iotbox.cancel.verify.code","iot盒子取消验券"),
    IOTBOX_TUANGOU_DEAL_QUERYSHOPDEAL("iotbox.tuangou.deal.queryshopdeal","获取团购信息接口"),
    IOTBOX_QUERY_AUTHORIZE_STORE("iotbox.query.authorize.store","查询授权门店"),
    COMPLAINT_LIST_INFO("merchant.findMerchantComplaint","查询投诉列表"),
    COMPLAINT_CONTENT_INFO("merchant.findByMchComplaintId","查询投诉内容"),
    MERCHANT_COMPLAINT_RESPONSE_V2("merchant.complaint.response.v2", "微信投诉订单回复"),
    MERCHANT_COMPLAINT_COMPLETE_V2("merchant.complaint.complete.v2", "微信投诉订单反馈处理完成"),
    ;

    private String  code;
    private String desc;

    FunctionEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
